FROM java:8
# 指定当前操作目录
WORKDIR /var/jenkins_home/war
ADD ruoyi-admin.jar ruoyi-admin.jar
RUN bash -c 'touch /ruoyi-admin.jar'
ENTRYPOINT ["java","-Djava.security.egd-file:/dev/./urandom","-jar","-Xmx1024m","-Xms1024m","ruoyi-admin.jar"]